import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/importFile',
  },
  {
    path: '/importFile',
    name: 'importFile',
    component: () => import('@/views/ImportFile'),
  },
  {
    path: '/setColumn',
    name: 'setColumn',
    component: () => import('@/views/SetColumn'),
  },
  {
    path: '/cmpResult',
    name: 'cmpResult',
    component: () => import('@/views/CmpResult'),
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('@/views/about'),
  },
]

const router = new VueRouter({
  routes
})

export default router
